LinuxQMISDK-Lite  SLQS04.00.27
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
MbimSyncObject Struct Reference

Data Fields

pthread_mutex_t mutex
 
pthread_cond_t condition
 
uint32_t status
 
uint8_t * informationBuffer
 
uint32_t informationBufferLength
 

Detailed Description

This structure is a wrapper around a mutex and condition object and an external buffer. It is a convenience object which may be used to create synchronous MBIM APIs.

Parameters
mutex
  • For thread safety.
condition
  • Triggered on completion.
status
  • The returned MBIM transaction status.
informationBuffer
  • Buffer to which the transaction response's informationBuffer will be copied.
informationBufferLength
  • Set to maximum expected size in bytes of transaction response's informationBuffer. On request completion, it is set to size of transaction response's informationBuffer.

Field Documentation

pthread_cond_t MbimSyncObject::condition
uint8_t* MbimSyncObject::informationBuffer
uint32_t MbimSyncObject::informationBufferLength
pthread_mutex_t MbimSyncObject::mutex
uint32_t MbimSyncObject::status

Copyright (c) 2011-2015 Sierra Wireless, Inc. All rights reserved